<{include file="db:`$mydirname`_mobile_header.html"}>


<div style="font-size:1.2em;"><b>
  <{if $is_adult}><{$smarty.const._MD_ADULTS}><{else}><{$smarty.const._MD_FUTURE}><{/if}>
</b></div>

<{if $links|@count > 0}>

  <{if $navinfo}>
    <{$navinfo}>
  <{/if}>

  <table style="margin:20px 0;background:#999;">
  <tr>
    <th><{$smarty.const._MD_SITETITLE}></th>
    <th>Date</th>
    <th><{$smarty.const._EDIT}></th>
  </tr>
  <{foreach item=link from=$links}>
    <tr style="background:<{cycle values='#fff,#eee'}>;">
      <td>
        <a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=item p_key1=lid p_val1=$link.lid}>">
          <{$link.title|links_substr:0:12}>
        </a>
      </td>
      <td><{$link.date|formatTimestamp:"m"}></td>
      <td><a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=edit p_key1=lid p_val1=$link.lid}>"><{$smarty.const._EDIT}></a></td>
    </tr>
  <{/foreach}>
  </table>

  <{if $nav}>
    <{$nav}>
  <{/if}>

<{else}>
  <{$smarty.const._MD_NO_DATA}>
<{/if}>


<{include file="db:`$mydirname`_mobile_footer.html"}>
